-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix our NBT serde #549
Fix our NBT serde #549
Conversation
Conflicts #543; one needs to be merged before the other. |
Pulled in tests from #486 |
Lets remove fastnbt completely, you still have it as dev dependency |
It's for tests to compare the output |
On second thought I'll just use raw bytes to check |
@Snowiiii removed all fast_nbt |
When i tested loading a Vanilla anvil world it worked fine, Until i moved. Then i got
|
Was this with a world previously generated by us? Do you have a stack trace? I'm unable to reproduce. |
I see; its when we load chunks from java versions, ill take a look |
Should be fixed now @Snowiiii |
Great work @kralverde, Everything works fine now. Thank you 👍 |
* make deserializer streamable * fix logic * fix deserializing * work on deserialization * finish serialize * replace everything with pumpkin_nbt * fix more serialization cases * finish conversion * add comment * remove all fast_nbt, test nbt arrays, add implement tuples/arrays * add size hints for deserialization * fix deserialization
Description
Currently our NBT handler is pretty buggy. This PR aims to fix it and add more unit tests.
Testing
Please follow our Coding Guidelines